#include "CaseDB/RecordSet.hpp"
#include <cassert>

namespace CaseDB
{

RecordSet::RecordSet( const Metadata& mt)
	: metaData_( mt)
{
}

// ---------------------------------------------------------------------------------------------------------------------

void RecordSet::appendRecord( const Record& newRec )
{
	assert( newRec.size() == metaData_.size());
	results_.push_back( newRec);
}

} // namespace CaseDB
